# -*- coding:utf-8 -*-
__author__ = 'wangjvv'
'''
date: 2020/9/23
description: 核心参数
'''
import os



serverIp = '114.67.170.157'
project_url = 'http://{}:9981'.format(serverIp)
username = 'test'
password = 'yuntu1234'


projectPath = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

#接口文件路径
testCasePath = os.path.join(projectPath,'case')
testCaseFileName = 'interface.xls'
#测试结果保存位置
testResultPath = os.path.join(projectPath,'testResult')
resultFileName = '测试结果.xls'

#数据库信息
host = serverIp
port = 3306
user = 'root'
passwd = 'yida@2019'

#日志信息
log_path = os.path.join(projectPath,'log')
logger_name = 'testCase'
logger_level = 'DEBUG'
console_level = 'ERROR'
file_level = 'INFO'
log_filename = 'runTestcase.log'
simple_formatter = '%(asctime)s-[%(levelname)s]-msg:%(message)s'
normal_formatter = '%(asctime)s %(levelname)s %(filename)s-%(lineno)s msg:%(message)s'